<%= stylesheet_link_tag 'mine/_nothing' %>

<script type="text/javascript" charset="utf-8">
    $(function () {
        var nothing = root.getWidgetById("nothing");

        // 点击即跳转
        nothing.on("keydown", function (e) {
            e =e || window.event;
            var keyValue = e.which || e.keyCode;
            if (keyValue === 13) {
                window.location.href = e.target.con.dataset.href;
            }
        });
    });
</script>

<div
  data-href="<%= recommend_path %>"
  id="nothing" class="nothing" fe-role="Widget">
  还没有任何收藏，现在就去选择吧！
</div>
